package com.ruoyi.nucleicacid.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 住户管理对象 nc_household
 * 
 * @author ruoyi
 * @date 2022-10-04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Household extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 楼栋名 */
    @Excel(name = "楼栋名")
    private Long floorid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String number;

    /** 地址 */
    @Excel(name = "地址")
    private String haddress;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 描述 */
    @Excel(name = "描述")
    private String represent;

    private String cellname;

    private String floorname;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFloorid(Long floorid) 
    {
        this.floorid = floorid;
    }

    public Long getFloorid() 
    {
        return floorid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setHaddress(String haddress) 
    {
        this.haddress = haddress;
    }

    public String getHaddress() 
    {
        return haddress;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setRepresent(String represent) 
    {
        this.represent = represent;
    }

    public String getRepresent() 
    {
        return represent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("floorid", getFloorid())
            .append("name", getName())
            .append("number", getNumber())
            .append("haddress", getHaddress())
            .append("status", getStatus())
            .append("represent", getRepresent())
            .toString();
    }
}
